<%-- 
    Document   : deployDB
    Created on : Dec 8, 2010, 10:40:20 PM
    Author     : navneet
--%>

<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%
/*    out.println("Navneet2=="+session.getAttribute("Query2")+"<br/>");
    out.println("Navneet3=="+session.getAttribute("Query3")+"<br/>");
    out.println("Navneet4=="+session.getAttribute("Query4")+"<br/>");
    out.println("Navneet5=="+session.getAttribute("Query5"));*/
%>
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>Web-Dev-Tool by Navneet Kumar</title>
        <meta http-equiv="Content-Language" content="English" />
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <link rel="stylesheet" type="text/css" href="css/style.css" media="screen" />
        <link rel="stylesheet" type="text/css" href="css/style1.css" media="screen" />
        <script type="text/javascript" src="js/javascript4.js" ></script>
        <script type="text/javascript" src="js/javascript_front2.js" ></script>
        <script type="text/javascript">
            var page        = 1;
            var sortby      = 1;
            var sortas      = 1;
            var search      = 0;
            var searchfor   = 0;
            document.onloaded = getoverview();

            function getoverview(){
                var params = 'doOn=deployDB&doThis=1';
                params += '&page='+page;
                params += '&sortby='+sortby;
                params += '&sortas='+sortas;
                params += '&search='+search;
                params += '&searchfor='+searchfor;
                getaddon("ajax/common.jsp?",params,"tabs","getoverview_cbk");
            }
            function getoverview_cbk()
            {
                //getObject("neetProcessingDivtabsData").style.display = 'none';
            }
        </script>
     </head>
    <body>
        <div id="wrap">
            <jsp:include page="/WEB-INF/jspf/header.jspf" flush="true" ></jsp:include>
            <div id="right">
                <%
                    if(session.getAttribute("currentUser") != null && session.getAttribute("currentUser").equals("admin"))
                    {
                %>
                <div id="tabs">
                    <div id="neetProcessingDivtabsData" style='position:relative;'>
                        <div style='position:absolute; top:0%; left:50%;'>
                            <img alt=""  src='Image/icon_processing.gif' />
                        </div>
                    </div>
                </div>
                <%
                    }
                    else
                    {
                %>
                    <jsp:include page="login.jsp" flush="true" ></jsp:include>
                <%
                    }
                %>
            </div>
            <div id="left">
                <%
                //if(session.getAttribute("currentUser") != null){
                %>
                    <jsp:include page="/WEB-INF/jspf/left_menu.jspf" flush="true" ></jsp:include>
                <%
                //}
                %>
            </div>
            <div style="clear: both;"> </div>
            <jsp:include page="/WEB-INF/jspf/footer.jspf" flush="true" ></jsp:include>
        </div>
    </body>
</html>